package com.media.themovieworld.widget.popupwindow;

import android.content.Context;
import android.view.View;
import android.view.WindowManager;

public abstract class MoviePopupWindow extends PopupWindows{

	public MoviePopupWindow(Context context){
		super(context);
		setContentView(getPopupContentView());
	}
	
	@Override
	protected int getPopupWidth() {
		return WindowManager.LayoutParams.WRAP_CONTENT;
	}
	
	protected abstract View getPopupContentView();
}
